package com.qianli.cashmama.trade.integration.pay.dto;

/**
 * @author: moss
 * 2018/9/3
 */
public class Beneficiary {

    /**
     * 收款人详情
     */
    private BeneficiaryDetail beneficiaryDetail;

    public Beneficiary() {
    }

    public Beneficiary(BeneficiaryDetail beneficiaryDetail) {
        this.beneficiaryDetail = beneficiaryDetail;
    }

    public static class BeneficiaryDetail {
        private BeneficiaryName beneficiaryName;
        /**
         * 收款人地址
         */
        private BeneficiaryAddress beneficiaryAddress;
        /**
         * 收款人联系信息 可选
         */
        private BeneficiaryContact beneficiaryContact;

        private String beneficiaryAccountNo;
        private String beneficiaryIFSC;
        private String beneficiaryMobileNo;
        private String beneficiaryMMID;

        public static class BeneficiaryName {
            private String fullName;

            public BeneficiaryName() {
            }

            public BeneficiaryName(String fullName) {
                this.fullName = fullName;
            }

            public String getFullName() {
                return fullName;
            }

            public BeneficiaryName setFullName(String fullName) {
                this.fullName = fullName;
                return this;
            }
        }

        public static class BeneficiaryAddress {
            private String address1;

            public BeneficiaryAddress() {
            }

            public BeneficiaryAddress(String address1) {
                this.address1 = address1;
            }

            public String getAddress1() {
                return address1;
            }

            public BeneficiaryAddress setAddress1(String address1) {
                this.address1 = address1;
                return this;
            }
        }

        public static class BeneficiaryContact {
            private String mobileNo;
            private String emailID;

            public BeneficiaryContact() {
            }

            public BeneficiaryContact(String mobileNo, String emailID) {
                this.mobileNo = mobileNo;
                this.emailID = emailID;
            }

            public String getMobileNo() {
                return mobileNo;
            }

            public BeneficiaryContact setMobileNo(String mobileNo) {
                this.mobileNo = mobileNo;
                return this;
            }

            public String getEmailID() {
                return emailID;
            }

            public BeneficiaryContact setEmailID(String emailID) {
                this.emailID = emailID;
                return this;
            }
        }

        public BeneficiaryName getBeneficiaryName() {
            return beneficiaryName;
        }

        public BeneficiaryDetail setBeneficiaryName(BeneficiaryName beneficiaryName) {
            this.beneficiaryName = beneficiaryName;
            return this;
        }

        public BeneficiaryAddress getBeneficiaryAddress() {
            return beneficiaryAddress;
        }

        public BeneficiaryDetail setBeneficiaryAddress(BeneficiaryAddress beneficiaryAddress) {
            this.beneficiaryAddress = beneficiaryAddress;
            return this;
        }

        public BeneficiaryContact getBeneficiaryContact() {
            return beneficiaryContact;
        }

        public BeneficiaryDetail setBeneficiaryContact(BeneficiaryContact beneficiaryContact) {
            this.beneficiaryContact = beneficiaryContact;
            return this;
        }

        public String getBeneficiaryAccountNo() {
            return beneficiaryAccountNo;
        }

        public BeneficiaryDetail setBeneficiaryAccountNo(String beneficiaryAccountNo) {
            this.beneficiaryAccountNo = beneficiaryAccountNo;
            return this;
        }

        public String getBeneficiaryIFSC() {
            return beneficiaryIFSC;
        }

        public BeneficiaryDetail setBeneficiaryIFSC(String beneficiaryIFSC) {
            this.beneficiaryIFSC = beneficiaryIFSC;
            return this;
        }

        public String getBeneficiaryMobileNo() {
            return beneficiaryMobileNo;
        }

        public BeneficiaryDetail setBeneficiaryMobileNo(String beneficiaryMobileNo) {
            this.beneficiaryMobileNo = beneficiaryMobileNo;
            return this;
        }

        public String getBeneficiaryMMID() {
            return beneficiaryMMID;
        }

        public BeneficiaryDetail setBeneficiaryMMID(String beneficiaryMMID) {
            this.beneficiaryMMID = beneficiaryMMID;
            return this;
        }
    }

    public BeneficiaryDetail getBeneficiaryDetail() {
        return beneficiaryDetail;
    }

    public Beneficiary setBeneficiaryDetail(BeneficiaryDetail beneficiaryDetail) {
        this.beneficiaryDetail = beneficiaryDetail;
        return this;
    }
}
